<?php

require_once ('common.php');
$lasttopics = getLastTopics();
$hottopics = getHotTopics();
$smarty->assign('lasttopics', $lasttopics);
$smarty->assign('hottopics', $hottopics);
$smarty->display('sidebar.html');

?>